package com.btpj.hospital_server.mapper;

import com.btpj.hospital_server.entity.HospitalOutpatient;

import java.util.List;

public interface HospitalOutpatientMapper {
    int deleteByPrimaryKey(Long id);

    int insert(HospitalOutpatient record);

    int insertSelective(HospitalOutpatient record);

    HospitalOutpatient selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HospitalOutpatient record);

    int updateByPrimaryKey(HospitalOutpatient record);

    List<HospitalOutpatient> selectBySpecialId(Long specialId);

    HospitalOutpatient selectByName(String name);

    List<HospitalOutpatient> selectByNameOrSpecialIdAndIdIn(String name, Long specialId, List<Long> hospitalOutpatientIds);
}